BestPerf 安装 · macOS
=========================

适用于 Apple 芯片(M 系列)和 Intel 两种 Mac —— 这是同一个通用(universal)包。

1) 解压
   在「访达 / Finder」里双击 BestPerf-macos-universal.tar.gz 即可自动解压,
   得到文件夹 BestPerf-macos-universal。
   (或在「终端」里:tar -xzf BestPerf-macos-universal.tar.gz)

2) 安装
   打开 BestPerf-macos-universal 文件夹,双击「Install BestPerf.command」。
   - 装到 ~/Applications/BestPerf,并在桌面生成「1 启动 BestPerf.command」。
   - 需要系统已装 python3(3.9+)。Mac 一般自带;若提示没有,
     在「终端」里运行一次:xcode-select --install  然后重装即可。

   ⚠️ 第一次打开被系统拦住(提示「无法打开,因为来自身份不明的开发者」)?
      在「Install BestPerf.command」上点右键 →「打开」→ 再点「打开」,只需这一次。
      (或到「系统设置 → 隐私与安全性」,点该项右侧的「仍要打开」。)

3) 启动
   双击桌面「1 启动 BestPerf.command」,或在「终端」里:
   bash ~/Applications/BestPerf/BestPerf.command
   浏览器打开界面后,先点「开始自动准备 / Doctor」,通过后即可「发起测试」。

(可选)想让别人“测向”你这台机器:
   - 在界面「本机连接信息」里打开「允许被别人测向本机」开关。
   - 把界面显示的【地址 + 令牌】发给要测你的人。
   - 第一次被测时,macOS 会弹「是否允许接受传入网络连接」,点「允许」。

装不上 / 打不开?
   把 ~/Applications/BestPerf/install_summary.latest.txt(或安装时终端的输出)发给支持人员。
